package com.farm.device;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = {"com.farm.device.dao"})
@EnableFeignClients(basePackages = {"com.farm.feign"})//开启feign功能

public class DeviceApplication {
    public static void main(String[] args) {
        SpringApplication.run(DeviceApplication.class,args);
    }
}
